Add EQC test for new nif encoder

The test compares results to the old erlang binary elements encoder.