Added testmode parameter to function calls for dry-runs and multi-return to send back a changeset array