Model test problem resolved

Solved problem in the model preventing image_url extension
with: %r{\. (gif|jpg|png)\z}i,