Fixed typo in LogentriesClient and edited tests