failing test for error filename

The error filename is incorrect when an exception is thrown from an included file. I will try to work on this when my time frees up… unless someone else wants to take it.