Propagate exception / test failures so that the correct status code is returned. Fix for https://github.com/spring-projects/spring-boot/issues/2048