Wrap *_test.py scripts w/ __name__ == '__main__'

Under nosetest we had no issue with these because nose wasn't importing
them. With py.test these are imported during test collection, adding
many seconds (~15 for me) to every `make test`.