PyQgsRasterLayer identify test fixed