Refactor default source class.
Fix error in the spec of multi_tenant_spec.rb