Extend PHPUnit tests for example using synchronization with a mutex