part of unit tests for wallet class