Add test cases for ImprovedRandom