upload testing scala implementation