In test_app, use \A \z for start end regex instead of ^ $

This is a fix for the test_app email format validation to use the more secure match of the string start and end instead of line start and end.

The sample app was failing tests because it did not have an user#edit view