Adding a functional test to test the persistence of settings