test_main don't care about cloud case because it is empty