Made sleepsort / cas @a test less fragile