Tests for encoding and decoding HSB.