Encapsulated Entity.
Fixed Python test entity.