Adds line numbers and file name to test output

Closes #1