fixed the server test and removed console.log