added md5 checking, added gradient test case image