Moving control test from UI testapp to unit testapp