can't get test to delete file - works fine in test.js