Rename variable in Processors test

Avoid conflict with `test` method
Use intermediate variable in document test
Reverse assertion argument order in document tests

Expected arg goes before Actual arg
Reverse assertion arguments order in Node tests
Reverse assertion argument order in Resolver test
Merge branch 'refactor-tests-more'