fixed the sleeps in the test file so that Travis doesn't time out