Refactors the manage todos spec