bf73f4e4f1
* add missing checks * adapt function return values where necessary * add initial test for settings
* add missing checks * adapt function return values where necessary * add initial test for settings