testing if std::logic can be caught