Stub out HSM for tests