add Slack notification to .travis.yml
fix intermittent build failures (maybe). closes #1407
fix throwing undefined/null now makes tests fail, fixes #1395