Fix for test-unit gem >= 2.5.2 and newer.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Add explicit cast to Ruby's VALUE.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>