added tests to user interface