RUBY-801 Adding tests