Added LogableTrait and its tests