added wallet unit tests