I think that keys was already quite well tested. (better than here as there are tests which check values as well; on the other hand there's no total_rows check. Consider improving those tests and removing these)