added a test for id