test if links work correctly.