Fixed noexcept tests, added opt ref tests