typo
improve binary encoding test harness and start writing tests