Add document uploading and deletion functional test