refactored last test in parse_test