Added more tests to EntityTest.

Code coverage for Entity should be sufficient now.