structure: add anonymous fields test, closes #5