A bit of refactoring to define the status messages ("ok", "failed")
only at a single location.

Also added a note when a test declared as expecting failure in fact
succeeds.
Adding color to test status when writing to console.