moving todo.js and adding first test