added tests for issue 59 - Edit User Mail Preferences.

P.S. Together with Bebe we were able to create this test 

fix #59