Fixed coverage for element.py model class