prophyc/prophy integration test shortened and refactored