Added new unittest.

Checks pruning when pruneLists=False, pruneZeros=True