added unittests for read_image and get_properties methods, removed
unused method parameters