I have an javascript test class
var Test = function() {
    var _object = {} ;
    _object.url = null ;
    return _object ;
}
exports.module = Test ;
Which I can then import via
var Test = require('./test') ;
When I do this however I get an error.
var test = new Test() ;
TypeError: Test is not a constructor
I'm expecting to have a test instance of Test such that test.url will return null. How would I change the source so that var test = new Test() works without throwing an error?

