fix database cleaning method for rspec.