minor updates and addition of eunit tests for console file private functions