test for id's more flexible