Adding more stubs for port testing predicates