Added tests which test the DOM state on plugin initialisation