Add tests for Ruby