Fixed rect_center_point to translate the center point by x and y and modified the test case.
Switched .gitignore test case name to td_test