Recreated test cases with random state