Add the unit test for the sentry log decorator