Added unit test base class for testing conditions.