added tests to the various node classes