Add elastic version check to tests