added cmd line tests for '--binary-image'