Fix library feature tests