Fixed BinaryField support and tests