java + 12 tests; ruby + 8 tests