Added test for saving domain name