upload testing functionality