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

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