Added tests for predicate_mgr.