Add unit test to verify when default site is set