Tests now exit once done.

Travis script updated