extracted model container mixin and made tests for it :)