Revert "Workaround to get the test to work with the node object"

This reverts commit dbc1716dc10c63e7a9a80dcf0c15cdeadd20f701.
Fix using node in tests