Added unit test for condition transformer.