cython script makin progress
add tests for cython script