NOT FOR MERGE Fix unit tests for 3.2 compatibility

NOT FOR MERGE `testTranslatablePropertiesOnSiteTree` is still broken
Probably less code to use `getWhereParameterised` since the return value is a nice flattened list of predicates.