Add benchmarks for contains method