update leave test