added test for id manipulation