updated demo/test3.R

Signed-off-by: roliveros-ramos <ricardo.oliveros@gmail.com>