improve test to cover old problem of rm'ing existing file