Internal State may prevent multiple sequential executions
There seems to be some internal state which is stored across multiple executions of the
main in the
This causes the following effect: Usually, the unit test
testMultipleInstances passes without problems. However, adding a certain new test (which passes) causes it to fail. It now throws a NullPointerException.