Test get nid