Added example for external helper file using addCommand

Like proposed in issue #313 I crated an example using a simple test case and an external helper.
It is more general to write 'callback = arguments[arguments.length - 1]' since the callback is always the lass argument regardless how many arguments you gonna use