GetSingle test fails

the unit test for GetSingle is failing - I believe the problem is due to the cast of `TId` into `object`