formula ui-tests refactored