Wrote tests for log parser constructor