test_parser: add option `-i` for interactive parsing