fixing test and adding travis-ci to static library