Fix dashboard tests