Add sleep in testPackage