Fix specs so test config is deleted