repaired testing suite to work with image upload instead of url