Tests for methods replicate() and unzip().