Made the tests run quicker by shortening the ms delays.