Fix tortuous 3 failing tests

Hi @timlinux, this PR will fix the 3 failing tests when we run the tests against QGIS > 2.0. Those 3 failing tests will pass though if we run it on its package/individually.