add directive unit test to sign-in-form and editable div