Adding Unit Tests for Random