make 'python setup.py test' working