Fixing incorrect unit test

CoreContext references are now held indirectly by AutoPacket via the outstanding reference