Unit Testing an Ionic 2 form input field?

Is there a guide or example somewhere that describes how to write a unit test for an Ionic 2 form input field?

I would like to find an example of how to load a form component (a login form) in a unit test and test it’s behavior when entering values in, for example, email and password fields.

As a proof of concept, I am using this sample app as a starting point: https://github.com/Gajotres/Ionic2AuthorizationExample/tree/master/app/pages/form

I am following the example setup for testing provided by https://github.com/lathonez/clicker

Just to get something basic working, I am attempting to replicate this test https://github.com/angular/angular/blob/master/modules/%40angular/forms/test/template_integration_spec.ts#L157

Basically, I want to get a reference to the input field in a unit test, set a value, and then see that the ng-dirty class has been added to the field.