Adds tests for valid link usage. Fixes #15