fix tests linkage