Add some tests for the parser