alters database cleaning for rspec to avoid race conditions