Test cases for UI changes

I apply all changes at the UI to the test cases.  During the
implementation I fix some bugs in the last commits.