rearrange cython tests

fixes bug #367