ordering tests - pattern operators