Add proper option handling for the migration subtask
Add tests for migration subtask