Adding unit tests to cover when rule engine returns false or throw an error during evaluation of conditiond