test with predicate builder struct