Added random main test