Adding unit tests for model/wallet.