Catch failures in badges API testing.