Yes, deleting the file is a quick & dirty way to force the test to fail, and getting the error message instead of a stack trace is much nicer.