added image model spec
added tests for associations and to_s for images