Fix `IP_Network.reserve`, add tests

* Fix is temporarily necessary as long as query attributes don't work
  properly.