Add tests for binary data