specs for states
terminated state test
nodesjs support using child_process