adding example and test