basic test coverage for cython + cleanup