Merged fix from master. Cleanup.

Merged fix for bnc#845534

Cleanup
- spec (replaced path to lib using rpm macro)
- removed obsolete testsuite