fixed all spec tests