copy generated test file to the right place