MAINT: use debug build on Travis CI, fix resulting test failures.