Add integration test for multiple logs as array

Verify that when API receives an array of multiple logs at /api/logs it saves the logs to database and returns an array of saved logs.