Testing Reactjs with small todo app