few unit tests have been added to console module.