fixing tests and removing console.log from Request.js