tests : added test for example from docs : testing duck