Added more tests

Review by @jspam please
You can remove the evaluation of `parser.result` as it is already done in `createParserFromSource`