Added test code for parsing