Fixing settings tests