SENTRY-392: fix a unit test failed