Clean, and default config
Added tests for null and default value