Add tests for noexcept.