Refactor test_swe_mms_p2p1 to work from any directory