fix unittests on linux / enable on travis-ci
fix compiler warnings:
- defined but not used
- deprecated conversion from string constant to ‘char*’
Merge pull request #333 from abma/master

fix unittests on linux / enable on travis-ci