Accounted for Color Table Size in FH offset

Fixed up tests