flash_uploader: fix tests