Use StringValueCStr instead of RSTRING_PTR
Use assert ... instead of assert_equal true, ... and refute ... instead
of assert_equal false, ...