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

In continue to #569 suggestion, here is PR
should be ``assertSame`` rather than ``assertEquals``