Fix "Undefined property: Math_BigInteger::$bits" + SHA512 tests.

Fixes #430