Check whether within() is being called

In my testing gs.within() never calls the callback function.  This PR causes the test to fail on my system.