add unit test for parse test