test vs Ui and onTick