reorder assertions in neighgbordb test lib