The "test" command was not respecting "set origin".