Added testing to log tool