Adding delete version function tests