add some tests for parse()