clean unit test for parser