Add tests for permit binary detail/Binary