test(directives) contenteditable Tests will fail outside the browser, behavior of code is as expected