update replication tests to use mode (#602)

* refactor to_mission into dest_mission
* general refactor and clean up
* add raise error if mode is not pass through on options
update controllers to use :mode option parameter during replication. (#602)