Adding test for parsing elements in spec