leak loop tests