Add test for updating email