fixed typo in testapp
more timeout for modal tests
automated view event tests