ref: Define an Element record used to compare parse result and expectaction