Flip expected/result order in test suite

Fixes #187.