Fixed failing sns_publisher test.