add unit test for model wallet_test