Test for exporting functionality

Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
Remove extra space

Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
Merge pull request #1263 from kb-yashodha/ut

Unit tests