Fix tests.

* Fix File->ext to Fix->original_name
* Fix Plugin count to flexible number
Merge pull request #112 from toiee/fix-tests

Fix tests.