Fix scroll issue with modal view test
Add tests for event handlers in list view.