Fixed PHPDoc for some methods
Remove hard-coding from test
Added an extra test for node from array