removed console.log and a single assertion from test