Fix bug introduced in 48c40ba1
Add make target 'tests' to run unit tests in python 2, 3 and pypy
test: use del <var> instead of <var> = None