Added some brief tests for Entities.
Updated more documentation.