unit and functional tests on workflow, plus all the code updates that ensued