[MIE-1172] Unit tests for models