added a test checking rekuired modules does not leak between packages