add func tests for viewing event