Introduced travis config and tweaks to make tests nicer