Wrote unit tests for fail() and success()