Added console.log to test server api.