Made cosmetic changes to the SNS Message Validator and started unit tests

I looked through your recently updated pull request and have made some cosmetic changes. I also added one unit test to get the ball rolling there.

I've never tried a PR to a PR before, but I believe that if you merge this PR into your master, it will show up in your PR against the official repo.