Raise errors when the Rails environment is 'test'
Merge pull request #798 from projectblacklight/error_on_test

Rase errors when the Rails environment is 'test'