fixed namespace in setup.py
fix tests for new cpy_wrapper API