Add timeout to ImageProvider test