improve robustness of SWTbot tests
improve robustness of SWTbot tests