added phpunit dep
fixed reduce