expose require()
refactor tests
remove saucelabs ie for now
delegate tests
Merge pull request #339 from segmentio/refactor-test

Refactor test