Testing with travis ci

Fix test suite and add some more to have the basic functionality covered