improve speed of some ui tests