tests: remove some duplicated includes
settings: don't crash when GSETTINGS_BACKEND is not in env

Fixes #8.