Removed logs, made unittest logical