test the ng-form and ng-messages