updated test file to be consistent with snappy API

One thing which I did which may be objectionable... changed this line:

sys.path.append('../swig')

to:

sys.path.insert(0,'../swig')

the idea being that, if snap.py is already installed in a globally visible location, this will capture the local version which is being built.