added test support to setup.py, close #55. Also fixes #54 for reasons that are mysterious to me