Speedup keepalive tests

Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>
More tests

Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>