Christopher Wray testifies on threats facing US as FBI seeks more funding