image: improving test for ImportImage when source is stdin

Relates to #24