fixed test head_div_n