I've recently stumbled upon a bad compiler/libstdc++ runtime combination where these sanity checks fail in bitcoind. If they are going to fail in bitcoind, they should fail in the tests as well.
Confirmed failing as expected on this combination (osx 10.9 + vanilla clang 3.4 + macosx-version-min=10.8).