Turned test.py into a souped-up command-line utility for testing speed. In the future I'll add some unit-testing too.