Fixed test for compilation databases.
Fixed test that was previously failing due to concurrency.