NodeTest converted to lambda functions

Uses Lambda functions to call the subtests
Easier to add new tests