Added test helpers for checking if an element exists / does not exist on a page. Also fixed markdown editor bugs found while creating tests.