added sleep to apply tests
updated tests