Added test for creating flash message
Add specs and code for editing todo items