fix for issue #32

Signed-off-by: Nishtha Agarwal <nnishtha.agarwal@gmail.com>
tests for fix issue #32

Signed-off-by: Nishtha Agarwal <nnishtha.agarwal@gmail.com>
adding wait to the test
adding a simple delay

Signed-off-by: Nishtha Agarwal <nnishtha.agarwal@gmail.com>
Added more wait to fix sync issues

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

Signed-off-by: Nishtha Agarwal <nnishtha.agarwal@gmail.com>
Merge pull request #33 from na-na/master

Fix and Test for #32