Fix test deprecation
Fix test deprecation

This resolves a warning of:

```
DEPRECATED: Use assert_nil if expecting nil from test/unit/node_test.rb:103. This will fail in Minitest 6.
```

alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers