add RandomTest for testing Random class