Torque doesn't work right with -r y flag.
Added test for adding duplicate hashes.