Add failing tests for upload and search 

Working on a fix now