image upload methods, readme and testcases updated