testing exactly which error/exception scenarios cause a build to fail