The new server.js will just be using  var backend, which contains either CassandraBackend or MockBackend, so you can just do backend.addResult(...);