CRM-15299 add test to check for application of sqlOperator

Note the test will should fail on the first pass through - I have some fixes to add in but want to check them against it