adding tests for parser