fix upload bug / bring back lost tests