better test for test_link if check if binary actually linked successfully.