Added tests for zero-size combinations and permutations.
Fixed Mocha tests for deep-equals assertions on empty arrays.