complete tests for hi8() and implement function