(PUP-3468) create test; production environment created when missing

You know, I was thinking about this again this morning, does the on() method assert the code, or raise an error?  That would be a reason to use assert_equal as well to get a failure result rather than an error result. Maybe not important.