modify mobilespec-for-worklight.pl script to work with new plugin test framework