Test libtools for static library and executable binary