Added first tests for the ui