added a basic unittest copied from Pyre