Fixes #90

Updates the reallocate IP logic to convert to the correct mapped address
format for comparisons sake, regardless of the incoming format. Also
updates numerous unit tests that weren't quite pedantic enough.