ITI-1966: PoC unit testing

unit testing with nodeunit and nock, only testing bamboo triggers as PoC at the moment