Add waiting times to keys tests