Fix passing arguments to process types
Guard against test suite runs

Really, Rails shouldn't make it quite so easy to blow away your
database.