Fixed Logger issues and added LoggerTest

Signed-off-by: Darren Hill <dchill42@gmail.com>