a test with sleep