test with a sandboxed environment and a real package