perfect the test file