Add JobStatus.coerce.

Remove erroneous exception message checking in the tests (turns out that
minitest doesn't do exception message checking the same way RSpec does).