rethink unit test style to remove duplication

@darius should we discuss this on a call with others?

I would love to improve this! Currently the Eclipse plugin cannot be installed see Problems installing Eclipse plugins and I see new contributors creating PRs with the older test style. This just shows that this is a pressing issue. Its hard to tell them what to do. Old & new style mixed in the code, documentation about test style inconsistent and plugin cannot be installed.