use toString for validation in parse_tests