[TEST] - rewrite test GetImageTest

also added check for empty parameter and fixed missing file behaviour

@rmansoor please review