Cleanup shared settings with tests