write temporary test files to tmp dir and delete tmp dir after all test have run
refactor _triggerTest: add options to set env variables
refactor temp dir stuff
add test case for PREFIX env var
fix indentation
add failing test cases in test data
remove log statement
check xml structure explicitly
add npm bin to PATH in test run
refactor _triggerTest to either use mocha or mocha-casperjs
implement test case for casper/phantomjs