fix ReadHeadInfo shift values; add test cases again!