Now working test. getDomain not working.