Refactoring incr + decr actions + PHPUnit tests