Expand test coverage, introduce byte mocking image class.