Add multi-tenancy support and chef local mode tests