Added tests for image quality