Binary document decoding is now fixed :
Also completed 2 tests for decoding legacy and common binary documents