clean up Transformer tests
minor #917 clean up Transformer tests (keradus)

This PR was squashed before being merged into the 2.0-dev branch (closes #917).

Discussion
----------

clean up Transformer tests

- removed unused code
- move common code into abstract base

Commits
-------

4854bc1 clean up Transformer tests
add ArraySquareBraceTransformer