tests: fix raw_input_mock to use a trusty sleep()