add test to log file dao