Controller test improved, CS & DocBlock fixes

@dereuromark could you create a release tag after merging this and may be cherry picking some of the commits to the original repo?
Why not Same? Is Equals OK with 0 !== false here?