add test case for parser cache