Added small error notice if a test fails

Sometimes a test runs in the browser, but fails in phantomjs.
Displaying which test fails is very simple, but helps a lot.