fixed a test for types in RequestHandler.write that was incorrect