Added option to also show domain if the hostname is shown

I've added the option LP_DOMAIN to show the domain if the hostname is shown.

It is working for bash and zsh and tested in macOS and linux.

Also changed the test script to deal with the  new option