add tests for link and structuredtext fragments