this test Random gate automation