added integration tests for change email controller