test(ui): adding some tests

Tests, but need to reset the whole document to prevent duplicates of
the markdown elements.