CCPhysicsSprite::getBody() bug?

I have tried using CCPhysicsSprite::getBody() on some code derived from the Box2DTest code in samples. For some reason I always get back an invalid reference, and need to track the b2Body* separately. Is this normal?

Ignore this, I had a problem with my code. It is working fine.