test view events