added tests and fixed image_url bugs