added a basic unittest copied from Pyre
Merge pull request #38 from sphaero/master

A good start for a unit-test, but we need it to test much more