Update Todo class and tests