added section about sleeps with unit testing