app/collections/notes: port tests