Added test for checking pass() and fail() functions.
Updated text report format.
Store and report given message in case of test failure.