Add tests for domain name field in application creation flow