Add minimagick
Update test to be less brittle
Remove activity
Change to minimagick
Add check if model_state present