Unit tests for parsers