Added tests for validator transform