test for log and tabs to spaces