mocked out image processing in some tests