Add Travis badge.  Fix tests.