#1057 Fix failing tests caused by layer focus fix for QGIS 2.4