 
         it "should return all the alarms in database", (done) ->
             client.get "alarms/", (error, response, body) ->
+
+                should.not.exist error
+                should.exist response
+                should.exist body
+
                 response.statusCode.should.equal 200
                 body.length.should.equal 2
                 done()


        it "should have persisted the alarm into database", (done) ->
            helpers.getAllAlarms (err, alarms) =>
                should.exist alarms
                alarms.length.should.equal 1
                should.exist alarms[0].action


            client.post "alarms/", @alarm, (error, response, body) =>

                should.not.exist error
                should.exist response
                response.statusCode.should.equal 201
                should.exist body
