Add ImprovedRandomTester and more test cases