app/views/notes: port tests