Add tests for the Erlang Binary Term Format encoding in Python.