Test that a warning is printed to stderr when a planning step (need=Need.PLAN)
is registered from a non-planning step (need=Need.DEFAULT).
