DynamoDB test helper for checking record in db