use options in wallet contructor & add tests

[#26]