Add test script.

Signed-off-by: Rudá Moura <ruda.moura@gmail.com>