extended near-duplicate search test