tests: add a test for today's uniq bug