Add failing tests for upload and search #2657