adding validation that dynamodb is accessible (rspec tests do not have a valid dynamodb connection)