fix seed_once! functionality

The seed_once! functionality as it currently stands is broken.  This code fixes the seed_once! implementation.  Additionally I added a test to verify the functionality.