tests: add flag test for river.parsed_query