Add new methods into SDL2::Rect and implement test code.