Unit Testing patterns for concurent code demos