More InfixPostfix utility functions, unit tests for apply operator