Update test_that_checks_required_field_validations_on_device_types_for_hosted_apps to check for form factor message
Change selected form factor in MockApplication to a single one
Fix typos and pep8 issues