Fixed a bug in Reap/Sow; added tests