Add negative test to writeFile