Fixes tests.py module to match the new behavior with locked context

The tests contained an assertRaises(Exception, ...) when creating a
thresholdless account with a locked context. In this version, this
doesn't happen as we are able to provide an "unsecure" hash until we are
unlocked.
Addresses issues encountered during the first round of code review