Similar Items: Memory Constrained Adversarial Hypothesis Testing