Make dashboard tests less brittle