Fix problem with exceptions in test initialization not failing build.