global.expect  = require('chai').expect;
global.request = require('supertest');

@@ -1,12 +1,44 @@
+process.env.NODE_ENV = 'test';%0A%0A
 global.expec
@@ -105,8 +105,141 @@
 test');%0A
+global.app     = require('../app');%0A%0Avar http   = require('http');%0Avar server = http.createServer(global.app);%0A%0Aserver.listen(3100);%0A

Initialize app on test bootstrap