func getMockApp(t *testing.T) *mock.App {
	app := mock.NewApp()
	RegisterWire(app.Cdc)
	clpKey := sdk.NewKVStoreKey("clpAppTestKey")
	bankKeeper := bank.NewKeeper(app.AccountMapper)
	clpKeeper := NewKeeper(clpKey, "RUNE", bankKeeper, app.RegisterCodespace(DefaultCodespace))
	app.Router().AddRoute("clp", NewHandler(clpKeeper))
	app.SetInitChainer(getInitChainer(app, clpKeeper, bankKeeper))
	require.NoError(t, app.CompleteSetup([]*sdk.KVStoreKey{clpKey}))
	return app
}
initialize the mock application for this module
package clp
import (
	"testing"
	sdk "github.com/cosmos/cosmos-sdk/types"
	"github.com/cosmos/cosmos-sdk/x/auth"
	bank "github.com/cosmos/cosmos-sdk/x/bank"
	"github.com/cosmos/cosmos-sdk/x/mock"
	"github.com/stretchr/testify/require"
	abci "github.com/tendermint/tendermint/abci/types"
	"github.com/tendermint/tendermint/crypto/ed25519"
	"github.com/thorchain/THORChain/x/clp/types"
)
var (
	priv1     = ed25519.GenPrivKey()
	pub1      = priv1.PubKey()
	addr1     = sdk.AccAddress(pub1.Address())
	fiftyRune = sdk.NewInt64Coin("RUNE", 50)
	createMsg1 = types.MsgCreate{
		Sender:                addr1,
		Ticker:                "eth",
		Name:                  "ethereum",
		Decimals:              18,
		ReserveRatio:          100,
		InitialSupply:         int64(1000),
		InitialBaseCoinAmount: int64(5),
	}
	createMsg2 = types.MsgCreate{
		Sender:                addr1,
		Ticker:                "btc",
		Name:                  "bitcoin",
		Decimals:              8,
		ReserveRatio:          50,
		InitialSupply:         int64(1000),
		InitialBaseCoinAmount: int64(5),
	}
	createMsg3 = types.MsgCreate{
		Sender:                addr1,
		Ticker:                "eth",
		Name:                  "ethereum2",
		Decimals:              18,
		ReserveRatio:          100,
		InitialSupply:         int64(1000),
		InitialBaseCoinAmount: int64(5),
	}
	createMsg4 = types.MsgCreate{
		Sender:                addr1,
		Ticker:                "cos",
		Name:                  "cosmos",
		Decimals:              0,
		ReserveRatio:          200,
		InitialSupply:         int64(1000),
		InitialBaseCoinAmount: int64(5),
	}
)