Add test parser and .hgignore.