Using swig for test modules