added uploadStats boole to config
made tests