Sleep now uses a class variable to specify time in tests