Added mocked test rule to unit test base.