Library to help with unit testing code under concurrency