Rename sample to test.
Add specs.
Add test script to package.
Implement checkLink
Wrap getLinks in specs.