[TACHYON-12] Add unit tests for ImageWriters

Add unit tests for the subclasses of ImageWriter. 
Style has java first. You can detect most style issues by running `mvn checkstyle: check`