Add test for sleep with negative values