We add a main() in unit test to initialize random number generator.