Added spec tests for todo items and also added styles for flash messages