added some tests for parsing