Tests fails when running under 1.9 and system Ruby is 1.8 (and vice-versa)