organizing the test code