Refactor out delete node JDBC test