From within your tests, if you can't understand what's going on, maybe you need to dump your data to your development database and use it from there?
François Beausoleil
gem "data_dumper", "~> 1.0.0"