Remove reliance on running elasticsearch instance