function imgAct finished, and passed the test
Test case for imgAct, finally the function passed the test