LPS-34454 - Change BaseTestCase.fail() into an Exception