Added the unit-test for models sets.
Rewritten the models sets. (Edit features not implemented.)