added tests for getid
added getid tests