minor fixes in dashboard tests

events and regular expressions weren't quite right, which could cause occasional test failures.
Merge pull request #6371 from minrk/dashboard-test-quickfix

minor fixes in dashboard tests