44fceef
Add the tests and refactor code Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>