added simple example and test