fixed def_array test