Adapted Ui test.