Updated node framework

added more tests and collection support for fields.