[TACHYON-12] Add unit tests for ImageWriters

Add unit tests for the subclasses of ImageWriter. 
Can you do intValue and longValue? It will be more clear that this code returns the wrapper types.

https://docs.oracle.com/javase/7/docs/api/java/lang/Long.html#longValue()