added additional console.logs to test