Test client with home-made new handler