Test GetAllTags method