Added jasmine tests for fetching images