added upload tests