fixed linking of s tests