imrpove the test class