open and write to a test file