add tests for eventplot