Code for doing Passive Interface Testing, packaged as a Rails generator