test.py cleaned up a bit, examples added to README