improve test file