update trap test_pipe_caller.py to use up-to-date test method