function tearDown()
 {
     RESTRoot::unregister('Foo');
     parent::tearDown();
 }