tests for fix issue #32

Signed-off-by: Nishtha Agarwal <nnishtha.agarwal@gmail.com>