JS Arcade Tests

getting pages

GET / should return a 200, without errors, and contain the title (JS Arcade)
request(app).get('/')
.expect('Content-Type', /text\/html/)
.expect(200)
.end(function(err, res){
  assert.equal(null, err);
  assert.ok(/JS Arcade/.test(res.text));
  done();
});
GET /nonexistent_route should return a 404
request(app).get('/nonexistent_route')
.expect('Content-Type', /text\/plain/)
.expect(404, done)