Add unit test for recreating deploymentsettings.json