add main to uploads test