fixed to apply gsettings, added more tests