Fix some things to make lint happy, remove a console.log in a testt