improved testcases to not actually sleep