[#1] add unit tests for (Glance) Image model.