Updated test for id method.