refactoring ui test

to use IQUnit setup