add image repository test
add image model test