Fix settings tests