integrate test framework and travis ci (fixes #8)