RTGOV-146 Add test for custom events in the activity interceptor mechanism