Fix GetSingle - added test for entities using a type other than string for their Id.