Updated elastic tests for _contains method