Generalize tests infrastructure add TravisCI support