refactor the test code