Adding tests.

+ Adding tests for ObstacleSphere.
+ Adding tests for ObstacleRectangle.