Update subsample unit test imports; regenerate C code from Cython