Fix library test