Updated tests, first try to integrate travis ci