Added sleep test