Tests and content fetch fixes

Fixed BeautifulSoap element decoding.
Fixed uploaded fetch.
Fixed tests.