added automation testcodes using Casperjs and Slimerjs