Testing Action to Image with customized draw funciton