Added a image fetching and test cases