adds mime type, changes width and height to numbers and increases test coverage