Revert "Revert "test origin reverse.""

This reverts commit faae5676221d3934fa5fd0b258ac0e6b16d56fe0.