python/tests/test_notes.py: add basic tests