Code Review Changes and Tests for sqs history