Added some tests. Made sure that the reference parser parses them correctly.