Check obj == null in _.transform
Test that accumulator does not change in _.transform