Adding more tests for obstacles.

+ Adding more tests for rectangular and spherical obstacles.