Added MD5 and SHA512 support.
Added more checks on badge assertions.
Rewrote some test cases to use local files instead of real network requests.