QAART-264 image serving tests refactoring