b2PolygonDef verts doesn't match body's angle?

I am trying to create a body with a single polygon shape. So I create a body def with a position and angle, then create the body. Then I create a b2PolygonDef with the verts I want and create the shape attached to the body.

When specifying locations for verts I am assuming this is in the body angle = 0 orientation. However, the shape does not seem to take on the angle of the body it is attach to or at least the verts aren't being transformed.

Am I just doing something out of order here? Do I have to create the shape on the body first and then specify the verts? This seems kindof bad because then specifying verts in a shape def is broken.
I got around this by not specifying the angle of the body when it is created in its definition. And instead first creating the shape and AFTER that setting the angle. Makes sense, sortof.

I can see someone might want to attach a shape to a body based on its current angle, which seems to be the default behavior. But it would be nice to also be able to attach a shape based on a bodies "unrotated" angle.
So if you create a body def with angle = pi/4 and attach a box with angle 0, does the box show up at a 45 degree angle?
Yes this seems to work, at least in the test-example i created in the testbed. In my actual game it does not seem to but I can't figure out the difference.

Original thread: https://box2d.org/forum/viewtopic.php?t=947