improve element parsing
test harness for information element parsing