Build test file