Social worker pleads not guilty to raping foster child