Success build library but crash when invoke DoTest()