added samples associated with pull request #145

Signed-off-by: Julien Carignan <julien.carignan@hotmail.com>