[test] Improve testing
[minor] Added support for custom parsers