tests/src/onset/test-onset.c: add missing del_aubio_source
python/tests/test_{source,sink}.py: add close() tests
python/tests/test_source.py: improve exception checks