fixing testclient