test getting id