merge weilu's changes
cleanup throw tests, add case for bad input
fix spacing
Merge pull request #54 from coinpunk/moreaddresstesting

More address testing