Fixed tests for concurrency