Fix QgsSymbolLayerV2 test
Fix dual view test

* References commit 51e01d6
* And issue #11529