Use intermediate variable in document test
Reverse assertion argument order in document tests

Expected arg goes before Actual arg