Increased test coverage

Added new tests for accounts, and download failure case