minor style added
complete todo item test and database entry added