actually test that file and line are output when logging an exception