Add unit test for curse parser.