Cleaned up test case with race condition