Do exercises in chapter 6

* Add test for downcasing in callback
* Try other callback implementation
* Fix email validation format