Tested on QGIS 2.6, added simple test file