Added test case for ModifyImageAttribute