added remaining spec func tests for node