add test target to cmake and enable in travis

* added testing to cmake targets (#201), run with make test
* run by travis as well

unfortunately, config_test fails currently...