Fix the tests

@liveh2o @localshred 
I'm told to move it to `bin/rpc_server` but it was merged without a test, so i have no confidence that it's appropriate to do so