Updated Log model
Updated unit tests to fix last exception