ISPN-2833 Add new tests for testing Lucene v3 & v4 as well increasing code coverage.

* The failing tests are fixed by changing the used abstract files to absolute files.
* The deletion of all created files is ensured.
* There are 4 tests, which should not run in case if the tests are running under the root.
  So some conditions are added, for not running the tests under the root.