Added tests for ui package and some refactorings.
Merge branch 'master' of https://github.com/software-engineering-amsterdam/sea-of-ql