Test RequestHandlerFactory