constructor-hook test