Improved concurrent test case