Add functional tests for Log Viewer