These tests are actually pretty unsafe. You're creating `&mut 0` but there's no guarantee about the lifetime of the `0`. Could you move the `0` into an outer variable to ensure that a pointer to it outlasts the construction of `ModEntry`?