CB-5404: Fix three tests that were sensitive to existing files