write test to verify parts of header. exploit erlang byte/binary bit/type bin syntax