added unit test to edit settings, passing