Fixed documentation and improved DomainsTest

 - DomainsTest now checks for irregular grid sizes