changed random() unit test to TDD style