finished JUnit test for Obstacle class