dashboard tests plus some fixes for random failures