#569 adding return values to NodeElement so action method chaining be p...

In continue to #569 suggestion, here is PR
@aik099 using PHPUnit mocks, it can unfortunately. PHPUnit allows calls on other methods of the mock by default (returning null).