added tests for ruby