Add tests for ruby2