func Test_StoreLoad(t *testing.T) {
	secret := []byte("12345678")
	ocraSuite := "OCRA-1:HOTP-SHA512-8:C-QH08-T1M-S064-PSHA256"

	userOcra, err := NewOcraUser(secret, ocraSuite)
	err = userOcra.UpdateOcraKey(secret)
	if err != nil {
		t.Errorf("Fatal error: OCRA key couldn't be updated, error: %v", err)
	}
	err = userOcra.UpdateOcraSuite(ocraSuite)
	if err != nil {
		t.Errorf("Fatal error: OCRA suite couldn't be updated, error: %v", err)
	}

	defs.StoreLoadTest(t, userOcra, defs.OcraPropertyName)
}
func Test_StoreLoad(t *testing.T) {
	otpUser, _ := NewOtpUser(BaseSecret, true, false, defaultThrottlingLen, 10, 20, defaultHotpWindowsSize, defaultTotpWindowsSizeSec, defaultStartCounter)

	defs.StoreLoadTest(t, otpUser, defs.OtpPropertyName)
}
func Test_StoreLoad(t *testing.T) {
	userPwd, _ := NewUserPwd(defaultPassword, defaultSaltStr, true)

	defs.StoreLoadTest(t, userPwd, defs.PwdPropertyName)
}
func Test_StoreLoadAM(t *testing.T) {
	userAm, _ := NewUserAm(SuperUserPermission, defaultPassword, defaultSalt, true)

	defs.StoreLoadTest(t, userAm, defs.AmPropertyName)
}