added edit spec tests