improve unit-testing

Add function to run a task in Photoshop, Indesign and Illustrator.
Add some comments.