Test by writing to console.

Signed-off-by: tungpham31 <tungpham31@gmail.com>