Fixed random unit test. All tests work/run now.