Add AngularJS tests for domainform directive