Fixed setup.py and testsuite