fix unittest and add .travis.yml

- Currently needs dmd master because Issue 12144
  is triggered by Dscanner.