Make the test a test and expose random
cleanup
Simulated anealing