Add failing tests for upload and search