Fix D test suite and add it to Travis CI