NoteTypeDAO unit tests + cleaned DAO