fix deleting locations in bulk upload
clean tests