Added a test case t001

Signed-off-by: root <root@testmac.(none)>
Added few changes
1. Added 2 test cases
2. Modified the logging framework
3. Updated the library as per usage.

Signed-off-by: Satheesaran Sundaramoorthi <satheesaran@gmail.com>