Introduced tests for activity logs and validation for models