Instead of entity_create(), we should use the entity manager which is setuped by the EntityUnitTestBase already.
-> getStorage('node_type')->create($values)