Add tests for speed

Signed-off-by: Constantin MUSCĂ <constantin.musca@gmail.com>