Fix setup.py to create a package and allow tests to be run