wrote test file