Making the acceptance tests fail if there are exceptions in the endpoints

copy of b4e3fb5ce843c6f061447d2037eb8908a121c6c7