minor fixes in dashboard tests

events and regular expressions weren't quite right, which could cause occasional test failures.