refactored neighbordb test lib