fix(config): add fallback to os temp folder when user has no user folder
chore: fix error in config tests