Make tests be auto discovered
Add some test cases for the entity id system