[TST] linalg.hessenberg: add unit test

add the example from #3364 as unit test.