fixed the post check in testClient