testing pi_piper in rails environment