Added tests for points and rects