Update actions.js

add unit test for testing options in generator template
i.e testing generator.template(source, destination, data,options)