Add unit tests for Predicate
Syntax error collection mechanism to silence stderr noise