Improve UI tests
fix settings error

fixes #260 and #263