Display std::runtime_error in test