test getContentId method