Working : Upload image : Fix unit tests