Test node.js API using express and mongoose to communicate with mongodb