Added more tests for the parser constructor.