add tests for all invocation permutations
start main integrate script