added test and view for all events