(SaveSessionTest.testRasterLayer): Restructure test to cover a variety of combinations of masktype and opacity settings.