Added initial integration tests for SNS + some useful utilities.