fix unit tests and add one for get of an image