Surround example based test with secure()