Added test classes for Entities.