test use static lib instead.