Propagate exception for test failures 

This ensures the correct status code is returned for failing tests. Fix for https://github.com/spring-projects/spring-boot/issues/2048