Restore execution of tests under Travis

This pull request restores the execution of tests under Travis and simplifies the xctool test execution script