Add basic tests for entity creation.