Updated example code

* missing comma
* missing dependency
* invalid `ampersand-input-view` name
* you cannot call `this.getByRole` without previously calling `this.renderWithTemplate`

Imo all code examples (especially for views) should be "copy/paste"-able and instantly show user feedback that something actually happened (`console.log('The form is valid!');` in this case).