Added helper test in the "logs" function