more error logging in other.test_native_optimizer