fixed subparsing test logic