[tests] Unit tests for parsers