Adding test for App.compare_domains