testParse() + refactoring