Fix NullPointerException and add some test cases


Fixes #76 
isImage is a static method, so call it using the class rather than an instance:
assertFalse(ImageUtils.isImage(null));