Added tests for change_target