(TestRasterLayer): Change file_contents to include opacity and masktype variables. (TestRasterLayer.test): Include tests for opacity and masktype changes.