Fix tests on two ruby packages.

.