fixed unit test linking