Fix Example output-checking in tests

- Translate() writes errors to Stderr, but ExampleX output checking use Stdout
- Another way to fix is a parameter for Translate() to have it write errors to Stdout, but not sure that is worth adding to cover this use case.
Fix multiple assign/swap using temporaries
Reswap a,b in swap test (to ensure that temporary collision has no effect)