title: Can't importing module into nightwatch test using require
body: <p>How can I import a module in a nightwatch spec test?</p>
  
  <p>If I try run this nightwatch test:</p>
  
  <pre><code>var settings = require("../settings")
  
  module.exports = {
    'Test PCC': function (browser) {
  
  
  browser. //etc
  </code></pre>
  
  <p>I get undefined is not a function. Do I need to package this with something like browserify?</p>