Add PYTHONPATH=. to get py.test to run tests against the local copy, instead of the one installed by "pip install ."