passing karma tests for editable directive