add tests for image model and tags controller