Add TravisCI badge, test build fixes