added test.wallet (not working yet), changed test.js to accept command line arg