adding new test for error file