Fix Tests and configured travis