Fix sum, added return statement.
Add test cases for nzip.