Use handler for tests that don't need a stream

Signed-off-by: Julien Viet <julien@julienviet.com>