fix a concurrency bug that may cause AdaptiveCellEdge relative test fail
add NloptLibraryTest