import setuptools to enable 'python setup.py develop'
TST: Added some granular tests, including test of 'memory' that currently fails.
PEP8 cleanup
minor tweak to test
Fixed bug with memory noticed by Dan Allan.