Fix Unit Tests for partial Download. Refs #551

This commit fixes the partial download feature, and improves the unit test coding by
using BeautifulSoup.