Add simple tests for format-binary-array