diff --git a/tests/test_filecrawl.py b/tests/test_filecrawl.py
index 84dae87..51c81d2 100644
--- a/tests/test_filecrawl.py
+++ b/tests/test_filecrawl.py
@@ -81,7 +81,7 @@ def test_GIVEN_annotation_THEN_escaped(self):
         rendered = render_item(entry, source)
         self.assertIn(
             "> | annotations: <a class='new' href='/source/Files:/tmp/view/somepath/entry_annotations'>new</a>,"
-            " <a href='/source/Files:/tmp/view/somepath/entry_annotations/hot%26cold.csv/'>hot&amp;cold</a></li>",
+            " <a href='/source/Files:/tmp/view/somepath/entry_annotations/hot&cold.csv/'>hot&amp;cold</a></li>",
             rendered,
         )
 
@@ -119,7 +119,7 @@ def test_GIVEN_deep_nested_dirs_THEN_includes_dirs_in_output(self, item_source):
             rendered,
             "<li><a href='/filecrawl/foo/bar/baz?source=FakeSource'>baz</a><ul>"
             "<li> <a href='/source/FakeSource/view/foo/bar/baz/file.h5ad/'>file.h5ad</a>"
-            "  | annotations: <a class='new' href='/source/FakeSource/view/FakeAnnotations'>new</a>"
+            " | annotations: <a class='new' href='/source/FakeSource/view/FakeAnnotations'>new</a>"
             "</li></ul></li>",
         )