added a wrapper for the method fromObj of Wallet
clean up
added test for the methods fromObj and toObj of WalletFactory
Merge pull request #203 from colkito/fix/walletfactory-formobj-toobj-tests

Fix/walletfactory formobj toobj tests