[TACHYON-12] Add unit tests for ImageWriters

Add unit tests for the subclasses of ImageWriter. 
Is data stream needed?