Tests

optionally use sinon instead: http://sinonjs.org/docs/#server