Refactor log model spec