improved test by running an example