mode_test : cover pr/20