revised tests for `ap`