Several bugfixes:

- fixed tests to really test something (they were just TAP results instead of real tests,
  so they always generated no output - and all expects were same, with the difference
  only in file name)
- support case when PERL5LIB is already set
- removed unused modules from test
- added missing dependecies for tests