Add tests for BinaryData type