BAC-272: add unit test for not existing images + DB results mocking