Add waiting time in images tests