Added system tests and several methods in logger.