A framework for doing multi-threaded unit tests in Java