fixed test for id