prepare for testing h_i
move arg check and output failed values