Added tests for conditional expression transform
Improved 'if' transform
fixed broken tests
Fixed 'global' transform